package Month07.day15;

public class Manager extends Employee {
    private int bonus;

    public Manager() {
    }

    public Manager(int bonus) {
        this.bonus = bonus;
    }

    public Manager(String name, int age, int salary, int bonus) {
        super(name, age, salary);
        this.bonus = bonus;
    }

    public int getBonus() {
        return bonus;
    }

    public void setBonus(int bonus) {
        this.bonus = bonus;
    }

    @Override
    public void work() {
       // super.work();
        System.out.println("统筹兼顾");
       // System.out.println(getBonus()+getAge()+getSalary());
    }
}
